using System;
using System.IO;
using System.Text;

namespace Crawler
{
	/// <summary>
	/// understands a dumpable
	/// </summary>
	public class Dumpable : ResourceReference {
		string data;

		public Dumpable(string path) : base(path)	{
		}

		public Dumpable(string path, string data) : base(path) {
			this.data = data;
		}

		public override bool Equals(object obj) {
			return base.Equals (obj);
		}

		public override String StreamDump(){
			return data;
		}

		public override void SetContent(string content)
		{
			this.data = content ;
		}
	}
}
